﻿using FoodModel;
using J.FoodRepository.InterFace;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.FoodRepository.Impl
{
    public class VegetablesRepository : BackRepository<Vegetables>, IVegetablesRepository
    {
        public VegetablesRepository(ISqlSugarClient db) : base(db)
        {
        }

        public async Task<List<Vegetables>> VegetablesShow()
        {
            return await base.GetAllAsync();
        }
    }
}
